weights = input("请输入若干个体重，用空格分隔: ")
weight_list = weights.split()
total_weight = 0
count = 0

for weight in weight_list:
    total_weight += float(weight)
    count += 1

average_weight = total_weight / count
print("平均体重为：{:.2f}".format(average_weight))

print("超过平均体重的体重有：")
for weight in weight_list:
    if float(weight) > average_weight:
        print(weight)
